import { createSelector, } from 'reselect';

const getBase = state => {
  const { hasOpenAccount, } = { ...state.base, };
  return hasOpenAccount;
};

export default createSelector(getBase, hasOpenAccount => {
  console.log('hasOpenAccount-----------', hasOpenAccount);
  return {
    hasOpenAccount,
  };
});

